home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / OpenGL / glupwlcurve.z / glupwlcurve
Encoding:
Text File  |  2002-10-03  |  3.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4. gggglllluuuuPPPPwwwwllllCCCCuuuurrrrvvvveeee((((3333GGGG))))                OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                gggglllluuuuPPPPwwwwllllCCCCuuuurrrrvvvveeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gggglllluuuuPPPPwwwwllllCCCCuuuurrrrvvvveeee - describe a piecewise linear NURBS trimming curve
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      void gggglllluuuuPPPPwwwwllllCCCCuuuurrrrvvvveeee( GLUnurbs* _n_u_r_b,
  14.                        GLint _c_o_u_n_t,
  15.                        GLfloat* _d_a_t_a,
  16.                        GLint _s_t_r_i_d_e,
  17.                        GLenum _t_y_p_e )
  18.  
  19.  
  20. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  21.      _n_u_r_b    Specifies the NURBS object (created with gggglllluuuuNNNNeeeewwwwNNNNuuuurrrrbbbbssssRRRReeeennnnddddeeeerrrreeeerrrr).
  22.  
  23.      _c_o_u_n_t   Specifies the number of points on the curve.
  24.  
  25.      _d_a_t_a    Specifies an array containing the curve points.
  26.  
  27.      _s_t_r_i_d_e  Specifies the offset (a number of single-precision floating-point
  28.              values) between points on the curve.
  29.  
  30.      _t_y_p_e    Specifies the type of curve.  Must be either GGGGLLLLUUUU____MMMMAAAAPPPP1111____TTTTRRRRIIIIMMMM____2222 or
  31.              GGGGLLLLUUUU____MMMMAAAAPPPP1111____TTTTRRRRIIIIMMMM____3333.
  32.  
  33. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.      gggglllluuuuPPPPwwwwllllCCCCuuuurrrrvvvveeee describes a piecewise linear trimming curve for a NURBS
  35.      surface.  A piecewise linear curve consists of a list of coordinates of
  36.      points in the parameter space for the NURBS surface to be trimmed. These
  37.      points are connected with line segments to form a curve. If the curve is
  38.      an approximation to a curve that is not piecewise linear, the points
  39.      should be close enough in parameter space that the resulting path appears
  40.      curved at the resolution used in the application.
  41.  
  42.      If _t_y_p_e is GGGGLLLLUUUU____MMMMAAAAPPPP1111____TTTTRRRRIIIIMMMM____2222, then it describes a curve in two-dimensional
  43.      (_u and _v) parameter space. If it is GGGGLLLLUUUU____MMMMAAAAPPPP1111____TTTTRRRRIIIIMMMM____3333, then it describes a
  44.      curve in two-dimensional homogeneous (_u, _v, and _w) parameter space. See
  45.      the gggglllluuuuBBBBeeeeggggiiiinnnnTTTTrrrriiiimmmm reference page for more information about trimming
  46.      curves.
  47.  
  48. NNNNOOOOTTTTEEEESSSS
  49.      To describe a trim curve that closely follows the contours of a NURBS
  50.      surface, call gggglllluuuuNNNNuuuurrrrbbbbssssCCCCuuuurrrrvvvveeee.
  51.  
  52. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.      gggglllluuuuBBBBeeeeggggiiiinnnnCCCCuuuurrrrvvvveeee, gggglllluuuuBBBBeeeeggggiiiinnnnTTTTrrrriiiimmmm, gggglllluuuuNNNNeeeewwwwNNNNuuuurrrrbbbbssssRRRReeeennnnddddeeeerrrreeeerrrr, gggglllluuuuNNNNuuuurrrrbbbbssssCCCCuuuurrrrvvvveeee
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.